<?php

namespace app\api\validate;

use think\Validate;

class VillageProductEvaluate extends Validate
{
    protected $rule = [
        "id"              => "require",
        "product"         => "require",
        "business_id"     => "require",
        "describe_score"  => "require",
        "logistics_score" => "require",
        "service_score"   => "require",
    ];

    protected $message = [
        'id.require'              => '订单ID错误',
        'product.require'         => '订单商品错误',
        'business_id.require'     => '缺少：business_id',
        'describe_score.require'  => '店铺描述评分错误',
        'logistics_score.require' => '店铺物流评分错误',
        'service_score.require'   => '店铺服务评分错误',
    ];

}